package qinggui.mlz.smsservice.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import qinggui.mlz.smsservice.entity.Sms;

@Mapper
public interface SmsMapper {
    @Insert("insert into sms(phone, content, result, send_time, create_time, update_time, is_deleted) values(#{sms.phone}, #{sms.content}, #{sms.result}, #{sms.sendTime}, #{sms.createTime}, #{sms.updateTime}, #{sms.isDeleted})")
    Integer create(@Param("sms") Sms sms);
}
